laravel eloquent order by alphabetical order

42

laravel eloquent order by alphabetical order -

  $items = Item::orderBy('name')->get(); 

Comments

Submit
0 Comments